<?php $__env->startSection('title','Редактирование центра'); ?>
<?php $__env->startSection('content'); ?>

    <div class="mt-10">
    <form action="<?php echo e(route('centers.update', $center->id)); ?>" method="POST" class="grid grid-cols-1 gap-[30px] max-w-[600px]">
        <?php echo csrf_field(); ?>
        <?php echo method_field('PATCH'); ?>
        <div>
            <textarea type="text" name="name"  class="w-full shadow-sky-200 shadow p-[20px] rounded-[10px]" placeholder="Название" ><?php echo e($center->name); ?></textarea>
            <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <div>
                <?php echo e($message); ?>

            </div>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <div>
            <input type="text" name="phone"  class="w-full shadow-sky-200 shadow p-[20px] rounded-[10px]" placeholder="Телефон" value="<?php echo e($center->phone); ?>">
            <?php $__errorArgs = ['phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <div>
                <?php echo e($message); ?>

            </div>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>
        <div>
            <input type="text" name="site"  class="w-full shadow-sky-200 shadow p-[20px] rounded-[10px]" placeholder="Сайт" value="<?php echo e($center->site); ?>">
            <?php $__errorArgs = ['site'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <div>
                <?php echo e($message); ?>

            </div>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <div>
            <input type="text" name="address"  class="w-full shadow-sky-200 shadow p-[20px] rounded-[10px]" placeholder="Адрес" value="<?php echo e($center->address); ?>">
            <?php $__errorArgs = ['address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <div>
                <?php echo e($message); ?>

            </div>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <div>
            <textarea name="notation"  class="w-full shadow-sky-200 shadow p-[20px] rounded-[10px]" placeholder="Описание"><?php echo e($center->notation); ?> </textarea>
            <?php $__errorArgs = ['notation'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <div>
                <?php echo e($message); ?>

            </div>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>

        <input type="submit" value="Обновить" class="bg-blue-700 p-4 text-white font-bold">
    </form>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/u0577411/data/www/lk.ligamechty.ru/resources/views/centers/edit.blade.php ENDPATH**/ ?>